package com.itheima.Service;

import com.itheima.domain.CheckItem;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;

import java.util.List;

public interface  CheckItemService {

    //添加检查项
    public abstract Result addCheckItem(CheckItem checkItem);


    //分页查询检测项的内容
    public abstract PageResult findPage(QueryPageBean queryPageBean);


    //根据id删除对应的检测项
    public abstract void deleteById(int row);


    //通过id查找到当前的数据进行回显
    public abstract CheckItem findByIdToEdit(int id);


    //添加编辑修改
    public abstract void editCheckItem(CheckItem checkItem);


    //查询所有的检测项
    public abstract List<CheckItem> findAllCheckItem();
}
